package cn.sherer.beans.kuaishou;

import java.io.Serializable;

/**
 * 快手结算通知数据
 */
public class KsNotifySettleData implements Serializable {
    private String out_settle_no;
    private String attach;
    private int settle_amount;
    private String status;
    private String ks_order_no;
    private String ks_settle_no;
    private boolean enable_promotion;
    private int promotion_amount;

    /** 订单结算状态：成功 */
    public static final String STATUS_SUCCESS = "SUCCESS";
    /** 订单结算状态：失败 */
    public static final String STATUS_FAILED = "FAILED";
    /** 订单结算状态：处理中 */
    public static final String STATUS_PROCESSING = "PROCESSING";

    public KsNotifySettleData() {
    }

    public KsNotifySettleData(String out_settle_no, String attach, int settle_amount, String status, String ks_order_no, String ks_settle_no, boolean enable_promotion, int promotion_amount) {
        this.out_settle_no = out_settle_no;
        this.attach = attach;
        this.settle_amount = settle_amount;
        this.status = status;
        this.ks_order_no = ks_order_no;
        this.ks_settle_no = ks_settle_no;
        this.enable_promotion = enable_promotion;
        this.promotion_amount = promotion_amount;
    }

    public String getOut_settle_no() {
        return out_settle_no;
    }

    public void setOut_settle_no(String out_settle_no) {
        this.out_settle_no = out_settle_no;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public int getSettle_amount() {
        return settle_amount;
    }

    public void setSettle_amount(int settle_amount) {
        this.settle_amount = settle_amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getKs_order_no() {
        return ks_order_no;
    }

    public void setKs_order_no(String ks_order_no) {
        this.ks_order_no = ks_order_no;
    }

    public String getKs_settle_no() {
        return ks_settle_no;
    }

    public void setKs_settle_no(String ks_settle_no) {
        this.ks_settle_no = ks_settle_no;
    }

    public boolean isEnable_promotion() {
        return enable_promotion;
    }

    public void setEnable_promotion(boolean enable_promotion) {
        this.enable_promotion = enable_promotion;
    }

    public int getPromotion_amount() {
        return promotion_amount;
    }

    public void setPromotion_amount(int promotion_amount) {
        this.promotion_amount = promotion_amount;
    }

    @Override
    public String toString() {
        return "KsNotifyPaymentData{" + "out_settle_no=" + out_settle_no + ", attach=" + attach + ", settle_amount=" + settle_amount + ", status=" + status + ", ks_order_no=" + ks_order_no + ", ks_settle_no=" + ks_settle_no + ", enable_promotion=" + enable_promotion + ", promotion_amount=" + promotion_amount + "}";
    }
}
